API Help
EPLAN API / API Reference / Actions / devicelist
devicelist
Action class for device list functions: import, export, and delete device lists.

Parameter Description

TYPE

Type of task to be performed by the action:
IMPORT: Import device list
EXPORT: Export device list
DELETE: Delete device list 

PROJECTNAME

Project name with full path (optional).
If not entered, the selected project is used when the action is calledfrom GUI (like from a script or button bar). 
If called from the windows command line, PROJECTNAME must be set or the 
must be used first, otherwise an  exception is thrown. 

IMPORTFILE

The directory and the file name of       the device list to be imported must be specified here.

EXPORTFILE

The directory and the file name of      the device list to be exported must be specified here.

FORMAT

Optional: File format ("XDLXmlExporter","XDLTxtImporterExporter", "XDLCsvImporterExporter", or       user-defined format)
Default= XDLXmlExporter

Example
import:

devicelist /TYPE:IMPORT /PROJECTNAME:C:\Projects\EPLAN\ESS_Sample_Project.elk /IMPORTFILE:C:\EPLAN\deviceListe.xml

export:

devicelist /TYPE:EXPORT /PROJECTNAME:C:\Projects\EPLAN\ESS_Sample_Project.elk /EXPORTFILE:C:\EPLAN\deviceListe2.xml

delete:

devicelist /TYPE:DELETE /PROJECTNAME:C:\Projects\EPLAN\ESS_Sample_Project.elk